package cryptoprovider

import (
	"fmt"
	"testing"
)

func TestNewBcrypt(t *testing.T) {
	pwd1 := "$2a$10$xMwSpO69sQIoZnrWLUToYu/YvSfpsgWipBKtbgNtn30SwxzVj8CtW"
	pwd2 := "imIGC4I3qkFWvPQfekccHgBn5CJh2tMyZpqG6EHcnJ0Gqr5rxm2Hx1FoCFbe85PDZi3begHV8yTehoT8Yvhj+bUqFBZbBhxz9ckyuG45vXfHZMgT1RqRd33RsjttTR+bNhnKI1UiPnHkI3f705Of1Xy+2lW6IBluZwlrcFyT/QmXPKDDC6VQ9OaajU0ueYS5+9eQgf7iQBEr3NvxDG2AHcvJoJ0dwDcwyocmxcM4g4MWMYRU1hwz2b4uyQ58sUepbw9uO7M4K3snJVaFkyHGK8V3wRGhu0HOpXHG2/wSOQLZTsoPPySi4EEOuzrTka2akh+2BIkJ3DNoXdROsx4hsg=="
	bcrypt := NewBcrypt(nil, nil)
	check := bcrypt.Check(pwd1, pwd2)
	fmt.Printf("check: %t\n", check)

}
